package com.woniu.teachmall04.dto;

import lombok.Data;

import java.util.List;

@Data
public class OrderGroup {
    public OrderGroup(String key, List<OrderItem> value) {
        this.orderNo = key;
        this.items = value;
    }

    private Integer orderId;
    private String orderNo;
    private String addTime;
    private String status;
    private Double totalMoney;
    private List<OrderItem> items;//每个订单可能有多个购买的商品
}
